package com.mxprojects.gui
{
	import flash.display.MovieClip;
	import flash.geom.Rectangle;
	import flash.text.TextField;

	public class PostQuoteBox extends MovieClip
	{
		public function PostQuoteBox(){}
		
		public function parse(textField:TextField, start:Rectangle):void  {
			createBox();
			x = start.x + textField.x;
			y = start.y;
			width = textField.width;
			textField.parent.addChild(this);
		}
		
		private function createBox():void {
			graphics.beginFill(0xffcc00, .4);
			graphics.drawRect(0, 0, 50, 50);
			graphics.endFill();
		}
		
	}
}
